package cn.lg.soar.system.tenant.service.impl;

import cn.lg.soar.system.tenant.entity.TenantUser;
import cn.lg.soar.system.tenant.mapper.TenantUserMapper;
import cn.lg.soar.system.tenant.service.ITenantUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;

import java.io.Serializable;

/**
 * TenantUser服务层实现
 * 租户用户
 * @author luguoxiang
 * @since 2022-04-30
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@ConditionalOnProperty(name = "lg.database.enabled-tenant", havingValue = "true")
public class TenantUserServiceImpl extends ServiceImpl<TenantUserMapper, TenantUser> implements ITenantUserService {

    @Override
    public TenantUser getById(Serializable id) {
        return super.getById(id);
    }

    @Override
    public boolean updateById(TenantUser entity) {
        return super.updateById(entity);
    }

    @Override
    public boolean removeById(Serializable id) {
        return super.removeById(id);
    }

}
